package zhihuilan.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.Map;

@Data
public class MyFactoryFavDto {
    private Integer id;
    private Integer factoryid;
    private Integer staffid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addtime;
    private Integer shopid;
    private Integer type;
    private Integer shopmemberid;
    @JsonProperty("fav_staffid")
    private Integer favStaffid;

    private Map<String,Object> info;
}
